﻿using System;

namespace xu.MinFileLogger.Console31
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");

            Logger.Init(@"D:\wwwroot\minlog");
            "测试内容0".LogFatal();
            "测试内容Program1".LogFatal<Program>();
            Logger.LogFatal<Program>("测试内容Program2");

            for (int i = 0; i < 100000; i++)
            {
                $"线程编号:{System.Environment.CurrentManagedThreadId} -- {i}".LogInfo();
            }

            Console.WriteLine("结束啦!");

            Console.ReadKey();
        }
    }
}
